export default {
  idCard: /(^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$)|(^[1-9]\d{5}\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{2}[0-9Xx]$)/,
  phone: /^1[34578]\d{9}$/,
  name: /^(?!·.+$)(?!.+·$)(?!.+··.+)[\u4e00-\u9fa5·]{2,20}$/, // 2-20中文
  name1: /^(?!·.+$)(?!.+·$)(?!.+··.+)[\u4e00-\u9fa5·]{1,20}$/, // 1-20中文
  pwd: /^(?![0-9]+$)(?![a-zA-Z]+$)(?!@+$)[0-9A-Za-z@]{6,10}$/,          // 6-10位数字字母组合密码，可包含@符号
  // pwd: /^(?!\d+$)(?![a-zA-Z]+$)(?![\da-z]+$)(?![\dA-Z]+$)[A-Za-z0-9]{6,}$/
  url: /^(http(s)?:\/\/)[a-zA-Z0-9][-a-zA-Z0-9]{0,62}(\.[a-zA-Z0-9][-a-zA-Z0-9]{0,62})+(:[0-9]{1,5})?[-a-zA-Z0-9()@:%_\\+.~#?&/=]*$/,
};
